cmake_minimum_required(VERSION 2.18)
project(practice2)

set(CMAKE_BUILD_TYPE Debug)

find_package(yaml-cpp REQUIRED)

include_directories(include)
# aux_source_directory(src SRC_LIST)
# message(STATUS "SRC_LIST " ${SRC_LIST})

add_executable(practice2 
    main.cpp 
    src/LCD.cpp
    src/agx.cpp
    src/battery.cpp
    src/chasis.cpp
    src/display_manager.cpp
    src/distribution_manager.cpp
    src/file_manager.cpp
    src/gyroscope.cpp
    src/info_enter_manager.cpp
    src/lidar.cpp
    src/smart_car.cpp
    src/stereo_camera.cpp
    src/student.cpp
    src/tire.cpp
    src/utils.cpp)
target_link_libraries(practice2 yaml-cpp)